package cn.ad.model;

import java.util.List;

/**
 * Created by zooy on 16-12-28.
 */
public class DataTableModel {

    public DataTableModel(int recordsTotal, List data) {
        this.recordsTotal = recordsTotal;
        this.recordsFiltered = recordsTotal;
        this.data = data;
    }

    public DataTableModel(List data) {
        this.data = data;
    }

    private int recordsFiltered;

    private int recordsTotal;

    private List data;

    public List getData() {
        return data;
    }

    public void setData(List data) {
        this.data = data;
    }

    public int getRecordsTotal() {
        return recordsTotal;
    }

    public void setRecordsTotal(int recordsTotal) {
        this.recordsTotal = recordsTotal;
    }

    public int getRecordsFiltered() {
        return recordsFiltered;
    }

    public void setRecordsFiltered(int recordsFiltered) {
        this.recordsFiltered = recordsFiltered;
    }
}
